package com.wisdytech.linkdcs.equipLifeCycle.check.dao;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.wisdytech.linkdcs.equipLifeCycle.check.dto.CheckMonthSearchDto;
import com.wisdytech.linkdcs.equipLifeCycle.check.dto.MonthCheckDto;
import com.wisdytech.linkdcs.equipLifeCycle.check.model.CheckModelItem;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dailibo
 * @since 2018-06-05
 */
public interface ICheckModelItemDao extends BaseMapper<CheckModelItem> {
	
	/**
	 * 根据设备点检表id查找 设备型号点检项目
	 * @param checkId 设备点检表id
	 * @return
	 */
	public  List<CheckModelItem> selectDetailByCheckId(String checkId);
	
	/**
	 * 查找月度点检表记录
	 * @param dto
	 * @return
	 */
	public List<MonthCheckDto> selectItems(CheckMonthSearchDto dto);

}
